package com.huifaapp.mall.selectImage;

import java.io.Serializable;

public class Pair<F, S> implements Serializable {
	private F first;
	private S second;
    
    public Pair(){}
    
    public Pair(F first, S second) {
        this.first = first;
        this.second = second;
    }
    
    public F getFirst() {
		return first;
	}

	public void setFirst(F first) {
		this.first = first;
	}

	public S getSecond() {
		return second;
	}

	public void setSecond(S second) {
		this.second = second;
	}

	public static <A, B> Pair <A, B> create(A a, B b) {
        return new Pair<A, B>(a, b);
    }
    
}
